const getters = {
  token: (state) => state.user.token,
  isLogin: (state) => state.user.isLogin,
  userInfo: (state) => state.user.userInfo,
  roles: (state) => state.user.roles,

  networkStatus: (state) => state.app.networkStatus,
  appInfo: (state) => state.app.appInfo,
  platform: (state) => state.app.platform,
  tabbarConfig: (state) => state.app.tabbarConfig,
  adData: (state) => state.app.adInfo,
  appLaunchScene: (state) => state.app.appLaunchScene,

  authMode: (state) => state.modal.authMode,
  authType: (state) => state.modal.authType,
  shareModal: (state) => state.modal.shareModal,
  shareGuide: (state) => state.modal.shareGuide,

  locationInfo: (state) => state.location.locationInfo,
  cityConfig: (state) => state.location.cityConfig,

  DefEnvCon: (state) => state.system.DefEnvCon,
  theme: (state) => state.system.theme,
  cameraUrl: (state) => state.app.camera,
}

export default getters
